package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class SetQuantifier {

    private int beginIndex;
    private int endIndex;
    private boolean distinct;
    private boolean all;

    public SetQuantifier(int beginIndex,
                         int endIndex,
                         boolean distinct,
                         boolean all) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.distinct = distinct;
        this.all = all;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public boolean isAll() {
        return all;
    }

}
